<?php

//COOL-BOT-PARAMETERS-----------------------------------------------------------
$cbot_jid_nick = 'coolbot'; //jid user
$cbot_jid_server = 'jabber.ru'; //jid server
$cbot_jid_pass = 'password'; //jid pass
$cbot_jid_resource = 'res_'; //jid res
$lang ='en';
$owner = 'NarKoZ@jabber.ru'; //bot owner
$online_bot = 'online@jabber.ru'; //Online bot
$bot_nick = 'CoolBot'; //bot nick
$auto='off'; //auto add all messages to data.txt [on/off]
$fr='yes'; //autoconference [yes/no]
$w_log = 'yes'; //write log [yes/no]
$allmsg='off'; //all in messages to owner [on/off]
$hwork='no';  //[yes/no]
$firs_run = 'yes'; //[yes/no]
$show_text= "Write help"; //status text
$status_type='chat';  #online #dnd #away #chat #etc..
$say_hi = 'no';  //[yes/no] speack hi/bye

//SPELL-BASE-LOADING------------------------------------------------------------
$readdata = fopen("data.txt", "rb");
$x = fread($readdata, filesize("data.txt"));
$stat_arr = explode("|", $x);
fclose($readdata);
//random ansvers
$readdata = fopen("data2.txt", "rb");
$x2 = fread($readdata, filesize("data2.txt"));
fclose($readdata);

//INCLUDE LANG
include("lng/ru.php");
include("lng/ru2.php");
include("lng/ua.php");
include("lng/en.php");
include("lng/id.php");
$LngL= 'Language list: [ru][ru2][ua][en][id]';

//LOAD CONFS LIST
$readdata = fopen("conf.txt", "rb");
$x2 = fread($readdata, filesize("conf.txt"));
$all_conf = explode("|", $x2);
fclose($readdata);

//BAN LIST
$readdata = fopen("ban.txt", "rb");
$x2 = fread($readdata, filesize("ban.txt"));
$ban_list = explode("|", $x2);
fclose($readdata);

//LOAD ADMIN LIST
$readdata = fopen("admin.txt", "rb");
$x2 = fread($readdata, filesize("admin.txt"));
$admins = explode("|", $x2);
fclose($readdata);

//LOAD USERS LIST
$readdata = fopen("users.txt", "rb");
$x2 = fread($readdata, filesize("users.txt"));
$jid_all_users = explode("|", $x2);
fclose($readdata);

//LOAD CONFS BOT NICK
$readdata = fopen("botnick.txt", "rb");
$x2 = fread($readdata, filesize("botnick.txt"));
$bot_nicks = explode("|", $x2);
fclose($readdata);

//SMS-GATE BASE
$sms_gate_base = array (" ", "38050", "sms.umc.com.ua", "38066", "sms.jeans.net.ua", "38067", "sms.kyivstar.net",
    "38068", "sms.beeline.ua", "38095", "sms.umc.com.ua", "38096", "2sms.kyivstar.net", "38097", "2sms.kyivstar.net",
    "38098", "2sms.kyivstar.net", "38099", "sms.umc.com.ua", "38039", "sms.golgentele.com", "38044", "sms.gt.kiev.ua",
    "7903", "sms.beemail.ru", "7906", "sms.beemail.ru", "7920", "sms.megafoncenter.ru", "7901", "sms.gate.ru",
    "7095", "sms.gate.ru", "79024", "sms.kubangsm.ru");

?>